import Vue from 'vue'
import Vant from 'vant'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import 'vant/lib/index.css';
import Qs from 'qs';

Vue.use(Vant);

Vue.config.productionTip = false
axios.create({
  baseURL: 'http://47.96.125.159:8010',
  timeout: 500000,
    headers: {
        'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'
    },
    transformRequest: [
        function(data) {
            return Qs.stringify(data);
        }
    ]
});
Vue.prototype.$axios = axios;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
